package com.wechat.shopping.mall.util;

import com.wechat.shopping.mall.bean.po.WechatShoppingCustomer;

/**
 * 生成path
 */
public class CreatePathUtil {

    public static String getChildPath(WechatShoppingCustomer customer) {
        String customerPath = customer.getPath();
        //加上根节点groupId转成36进制后的path
        customerPath += NumberSystemUtils.ConvertTo36(customer.getId())+"/";
        return customerPath;
    }
}
